From 6ac3ec0b53023f114acba1f4e3ad0c7368ea0ecc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 4 Mar 2015 21:56:02 -0500 Subject: [PATCH] HighContrast: Make sure selections are visible in infobars Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=745622 --- gtk/theme/HighContrast/_common.scss | 5 +++++ gtk/theme/HighContrast/gtk.css | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss index fc270d525c..506f55cd1b 100644 --- a/gtk/theme/HighContrast/_common.scss +++ b/gtk/theme/HighContrast/_common.scss @@ -2105,6 +2105,11 @@ GtkInfoBar { &:backdrop { @include button(backdrop, $selected_bg_color, $selected_fg_color, $edge: none); } &:backdrop:insensitive { @include button(backdrop-insensitive, $selected_bg_color, $selected_fg_color, $edge: none); } } + .label:selected, + .label:selected:focus, + .label:selected:hover { + background-color: lighten($selected_bg_color, 20%); + } } /************ diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css index 479c4393a8..0f267bf352 100644 --- a/gtk/theme/HighContrast/gtk.css +++ b/gtk/theme/HighContrast/gtk.css @@ -2293,6 +2293,19 @@ GtkInfoBar { color: #7f7f7f; border-color: #8b8b8b; background-image: linear-gradient(to bottom, #fff); } + .info .label:selected, + .info .label:selected:focus, + .info .label:selected:hover, + .question .label:selected, + .question .label:selected:focus, + .question .label:selected:hover, + .warning .label:selected, + .warning .label:selected:focus, + .warning .label:selected:hover, + .error .label:selected, + .error .label:selected:focus, + .error .label:selected:hover { + background-color: #333333; } /************ * Tooltips * -- 2.30.2